/*
 * @Author: lbt666 1319451895@qq.com
 * @Date: 2022-04-13 15:49:26
 * @LastEditors: lbt666 1319451895@qq.com
 * @LastEditTime: 2023-08-16 20:11:51
 * @Description: 合约配置文件
 */
let NODE_ENV = import.meta.env.MODE == 'production' ? true : false

import erc20 from './erc20.json'
import mian from './main.json'
import nft from './neverFailToken.json'

let erc20Api = erc20
let mianABi = mian // mian
let neverFailTokenAbi = nft

// 测试 0x70aC98460d3eE6414798C7B64f2520FC23e7fcA8
// 0x70ac98460d3ee6414798c7b64f2520fc23e7fca8
// 0xe223287e67ED27e5B2D857dc3BCC52FD2Da68D99
// let mainContractAddress = '0x05fe769394B34fE3cAA65735bd00289e7865C734'
// let TokenAddress = '0x70ac98460d3ee6414798c7b64f2520fc23e7fca8'
// let NftAddres = '0xe223287e67ED27e5B2D857dc3BCC52FD2Da68D99'
let mainContractAddress = '0xE64F867b84556c4D4b88d62F60060C72eBDe922F'
let TokenAddress = '0x5E5017250B276B89ecBFF681cb6b4DA817CdB1FA'
let NftAddres = '0x81A47b5D52eefbd63CF4bC9BC75e7cE44a73eF25'
// 正式
if (NODE_ENV) {
  console.log = function () { }
  mainContractAddress = '0x05fe769394B34fE3cAA65735bd00289e7865C734'
  TokenAddress = '0x70ac98460d3ee6414798c7b64f2520fc23e7fca8'
  //NftAddres = '0x70ac98460d3ee6414798c7b64f2520fc23e7fca8'
  NftAddres = '0xe223287e67ED27e5B2D857dc3BCC52FD2Da68D99'
}

export {
  mainContractAddress,
  mianABi,
  TokenAddress,
  erc20Api,
  NftAddres,
  neverFailTokenAbi
}
